
<template>
  <div class="nav-item">
    <!-- 就是一个超链接 a标签 -->
    <router-link to="/">首页</router-link>
    <br>
    <router-link to="/video">视频</router-link>
    <br>
    <a href="/video">这个也是超链接</a>
    <!-- 显示 -->
    <router-view></router-view>
  </div>
</template>

<script>
// 导包
// import video_item from '@/views/video_item.vue'
// import home_item from '@/views/home_item.vue'

export default {
  name: 'App',
  // 注册组件
  // components: {
  //   video_item,
  //   home_item
  // },
  data() {
    return {
      number: 1
    }
  },
  computed: {},
  methods: {}
}
</script>

<style scoped>
/* 样式 */

</style>
